<template>
	<view>
		<view class="charts-box">
		  <qiun-data-charts
		    type="line"
		    :chartData="chartData"
				:opts="opts"
		    background="none"
		  />
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			chartData: {
				type: Object,
				default: {}
			}
		},
		data() {
			return {
				opts: {
					dataLabel: false,
					fontColor: '#999999',
					fontSize: 11,
					extra: {
						line: {
							width: 6,
						}
					}
				}
			}
		}
	}
</script>

<style>
</style>
